﻿using JNPF.Utils;
using System.Collections.Generic;

namespace JNPF.Basics.Models.CodeBuilder
{
    /// <summary>
    /// 通用开发配置
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// </summary>
    public class Template1HelperModel
    {
        /// <summary>
        /// 版本
        /// </summary>
        public string Version = ConfigurationKey.SoftVersion;
        /// <summary>
        /// 版权
        /// </summary>
        public string Copyright { get; set; }
        /// <summary>
        /// 创建人员
        /// </summary>
        public string CreateUser { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public string CreateDate { get; set; }
        /// <summary>
        /// 功能描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 所在区域
        /// </summary>
        public string AreasName { get; set; }
        /// <summary>
        /// 功能类名
        /// </summary>
        public string ClassName { get; set; }
        /// <summary>
        /// 后端目录
        /// </summary>
        public string ServiceDirectory { get; set; }
        /// <summary>
        /// 数据表名称
        /// </summary>
        public string Table { get; set; }
        /// <summary>
        /// 数据表主键
        /// </summary>
        public string TableKey { get; set; }
        /// <summary>
        /// 数据表字段
        /// </summary>
        public List<EntityFieldModel> TableFieldList { get; set; }
        /// <summary>
        /// 分页
        /// </summary>
        public bool? IsListPageMethod { get; set; }
        /// <summary>
        /// 列表
        /// </summary>
        public bool? IsListMethod { get; set; }
        /// <summary>
        /// 信息
        /// </summary>
        public bool? IsInfoMethod { get; set; }
        /// <summary>
        /// 创建
        /// </summary>
        public bool? IsCreateMethod { get; set; }
        /// <summary>
        /// 修改
        /// </summary>
        public bool? IsUpdateMethod { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public bool? IsDeleteMethod { get; set; }
        /// <summary>
        /// 总数
        /// </summary>
        public bool? IsCountMethod { get; set; }
        /// <summary>
        /// 上移
        /// </summary>
        public bool? IsFirstMethod { get; set; }
        /// <summary>
        /// 下移
        /// </summary>
        public bool? IsNextMethod { get; set; }
    }
}
